package com.lineage.server.serverpackets;

public class S_PacketBoxIconAura extends ServerBasePacket {
  private byte[] _byte;
  
  public static final int ICON_AURA = 22;
  
  public static final int ICON_OS = 125;
  
  public static final int ICON_E3 = 227;
  
  public S_PacketBoxIconAura(int iconid, int time) {
    this._byte = null;
    writeC(250);
    writeC(22);
    writeC(iconid);
    writeH(time);
  }
  
  public S_PacketBoxIconAura(int type, int time, int value, int test) {
    this._byte = null;
    writeC(250);
    writeC(22);
    writeC(type);
    writeH(time);
    writeH(test);
    writeH(value);
  }
  
  public byte[] getContent() {
    if (this._byte == null)
      this._byte = getBytes(); 
    return this._byte;
  }
  
  public String getType() {
    return getClass().getSimpleName();
  }
}
